package com.singfan.core.dao.mongo;

import java.util.List;

/**
 * Author: hansonghe
 * Date: 2015-08-21 10:24
 * Desc:
 */
public interface IShopLocationDao {
    void createShopLocation(long masterShopId, long shopId, int cityId, int businessCircleId, List<Integer> serviceTypeList, double longitude, double latitude);

    List<Long> findShopNearbyLocation(int serviceType, int cityId, int businessCircleId, double longitude, double latitude, int pageIndex, int pageSize);

    List<Long> findShopNearbyLocation(long masterShopId, double longitude, double latitude, int pageIndex, int pageSize);

    void updateShopServices(long shopId, int serviceType);
}
